﻿<%@ Page Title="" Language="C#" MasterPageFile="~/pages/template/MasterPage.master" AutoEventWireup="true" CodeFile="Registro.aspx.cs" Inherits="pages_Registro" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">}
    <link href="../styles/Style_registro.css" rel="stylesheet" />
    <style type="text/css">
        .auto-style1
        {
            width: 233px;
        }
        .auto-style2
        {
        }
        .auto-style3
        {
            width: 231px;
        }
        .auto-style4
        {
            width: 131px;
            height: 23px;
        }
        .auto-style5
        {
            width: 233px;
            height: 23px;
        }
        .auto-style6
        {
            width: 231px;
            height: 23px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="rtitulo">
    <table style="width:100%;">
        <tr>
            <td class="auto-style2" colspan="2"><h2>&nbsp;Registrarse </h2> </td>
            <td class="auto-style3">&nbsp;</td>
        </tr>
        <tr>
            <td class="auto-style2">&nbsp;</td>
            <td class="auto-style1">&nbsp;</td>
            <td class="auto-style3">&nbsp;</td>
        </tr>
        <tr>
            <td class="auto-style2">
                <asp:Label ID="Label1" runat="server" Text="Invitado por Usuario"></asp:Label>
            </td>
            <td class="auto-style1">
                <asp:TextBox ID="TxtInvitado" runat="server"></asp:TextBox>
            </td>
            <td class="auto-style3">
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TxtInvitado" ErrorMessage="Error, correo no valido" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td class="auto-style2">
                <asp:Label ID="Label2" runat="server" Text="Nombre"></asp:Label>
            </td>
            <td class="auto-style1">
                <asp:TextBox ID="TxtNombre" runat="server"></asp:TextBox>
            </td>
            <td class="auto-style3">&nbsp;</td>
        </tr>
        <tr>
            <td class="auto-style2">
                <asp:Label ID="Label3" runat="server" Text="Apellido"></asp:Label>
            </td>
            <td class="auto-style1">
                <asp:TextBox ID="TxtApellido" runat="server"></asp:TextBox>
            </td>
            <td class="auto-style3">&nbsp;</td>
        </tr>
        <tr>
            <td class="auto-style2">
                <asp:Label ID="Label4" runat="server" Text="Telefono"></asp:Label>
            </td>
            <td class="auto-style1">
                <asp:TextBox ID="TxtTelefono" runat="server"></asp:TextBox>
            </td>
            <td class="auto-style3">&nbsp;</td>
        </tr>
        <tr>
            <td class="auto-style2">
                <asp:Label ID="Label8" runat="server" Text="Nacionalidad"></asp:Label>
            </td>
            <td class="auto-style1">
                <asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="SqlDataSource1" DataTextField="nombre" DataValueField="nombre" Height="16px" Width="141px">
                </asp:DropDownList>
            </td>
            <td class="auto-style3">&nbsp;</td>
        </tr>
        <tr>
            <td class="auto-style2">
                <asp:Label ID="Label5" runat="server" Text="Correo"></asp:Label>
            </td>
            <td class="auto-style1">
                <asp:TextBox ID="TxtCorreo" runat="server"></asp:TextBox>
            </td>
            <td class="auto-style3">&nbsp;</td>
        </tr>
        <tr>
            <td class="auto-style2">
                <asp:Label ID="Label6" runat="server" Text="Contraseña"></asp:Label>
            </td>
            <td class="auto-style1">
                <asp:TextBox ID="TextContraseña" runat="server" ></asp:TextBox>
            </td>
            <td class="auto-style3">
                <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="TextContraseña" ControlToValidate="TxtConfirmar" ErrorMessage="La contraseña no coincides"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td class="auto-style2">
                <asp:Label ID="Label7" runat="server" Text="Confirmar contraseña"></asp:Label>
            </td>
            <td class="auto-style1">
                <asp:TextBox ID="TxtConfirmar" runat="server"></asp:TextBox>
            </td>
            <td class="auto-style3">&nbsp;</td>
        </tr>
        <tr>
            <td class="auto-style4">
                </td>
            <td class="auto-style5"></td>
            <td class="auto-style6"></td>
        </tr>
        <tr>
            <td class="auto-style2">
                <asp:Button ID="BtnIngresar" runat="server" Text="Agregar" />
            </td>
            <td class="auto-style1">
                <asp:Button ID="BtnLimpiar" runat="server" Text="Limpiar" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </td>
            <td class="auto-style3">&nbsp;</td>
        </tr>
    </table>
        </div>

</asp:Content>

